import Vue from 'vue'
import Vuex from 'vuex'
import userModule from './module/user'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    searchTitle: '',
  },
  getters: {

  },
  mutations: {
    SET_SEARCH_TITLE(state, searchKey) {
      state.searchTitle = searchKey
    }
  },
  actions: {
  },
  modules: {
    userModule,
  }
})
